import axios, { AxiosInstance } from 'axios'

import appEnvironment from '@/app-environments'

const {
    networkHosts: {
        apiServer1: {
            fullHost,
        },
    },
} = appEnvironment

const whepClient: AxiosInstance = axios.create({
    // baseURL: 'http://192.168.3.146:3333',
    baseURL: fullHost,
    headers: {
        'Content-type': 'application/sdp',
    },
})

export default whepClient
